Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

353
Views
508 Compliance error - "This SPAN has an id attribute of 'aria-context' and 'aria-selection-event', which is not unique in the same DOM"

I'm using the tool Level Access to test my application for 508 violations and which is producing errors on my custom dropdown form.

This SPAN has an id attribute of 'aria-context', which is not unique in the same DOM

and

This SPAN has an id attribute of 'aria-selection-event', which is not unique in the same DOM

Im using react-select for the dropdown and the error I'm getting is from line https://github.com/JedWatson/react-select/blob/master/packages/react-select/src/components/LiveRegion.tsx#L202-L204

it looks like the aria-selection and aria-context spans should only be used during the initial focus, but for some reason stays indefinitely instead of switching to the live region.

enter image description here

<AvSelect
              name="payer"
              labelKey="displayName"
              valueKey="id"
              id={{payers.map(x => x.id)}
              label="Payer"
              placeholder="Choose one ..."
              options={payers}
              index={payers.map(x => x.id)}
              onChange={payer => {
                this.changePayer(payer);
              }}
            />
          )}
            

Here is the screenshot attached for the highlight of the element causing the error and I'm using continuum explorer pro to test the accessibility for the page. Also we are targeting chrome, firefox and safari as main browsers. I see the span tag in the chrome dev tools but I don't see that anywhere in my react code

enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!